//
//  AppDelegate.m
//  Baisijie
//
//  Created by 王建伟 on 2017/3/1.
//  Copyright © 2017年 RangGuangyu. All rights reserved.
//

#import "AppDelegate.h"
#import "BSAdViewController.h"
#import "BSTabBarController.h"
#import <AFNetworkReachabilityManager.h>

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
//    BSAdViewController *adVc = [BSAdViewController new];
    self.window.rootViewController = [BSTabBarController new];
    [self.window makeKeyAndVisible];
    //开启网络监测
    [[AFNetworkReachabilityManager sharedManager] startMonitoring];
    return YES;
}



@end
